body{
	/*IE6 need this for correct size of overlay*/
	_margin: 0;
}

/*Change z-index here*/
.xWindow{
	position: absolute;
	z-index: 300;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: none;
	font-family: Verdana;
	font-size: 11px;
	background: #fff;
	border: 1px solid #949494;
	text-align: left;
}
.xWindow.selected{
	z-index: 301;
}
.xWindow-resizable-proxy{
	border: 1px solid black;
	background: #a8c9d7;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 302;
	filter:alpha(opacity=70); 
	-moz-opacity: 0.7; 
	opacity: 0.7;	
}
.xWindow-overlay{
	position: absolute;
	z-index: 300;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;

}
.xWindow .button, .xWindow .button.disabled:hover{
	border: 1px solid #b3b3b3;
	background: url(img/button-bg.gif) repeat-x;
	color: #000;
	padding: 3px 5px 2px 5px;
	text-decoration: none;
	line-height: 18px;	
}
.xWindow .button:hover, .xWindow .button.focus{
	background: #999;
	color: #fff;
	text-decoration: none;
}
.xWindow .button.disabled{
	filter:alpha(opacity=50); 
	-moz-opacity: 0.5; 
	opacity: 0.5;	
}


.xWindow .button .icon{
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 20px;
	font-size: 12px;
}
.xWindow .button .icon.plus{
	background-image: url(../xIcons/16x16/add.png);
}
.xWindow .button .icon.minus{
	background-image: url(../xIcons/16x16/delete.png);
}
.xWindow .button .icon.accept{
	background-image: url(../xIcons/16x16/accept.png);
}


/*****************************/

.xWindow-titlebar{
	height: 22px;
	background: url(img/titlebar-bg.gif) repeat-x;
	cursor: move;	
	text-align: center;
}
.xWindow-titlebar .title{
	color: #3b3b3b;
	line-height: 20px;
	font-size: 11px;
}
.xWindow .corner-left{
	width: 4px;
	height: 22px;
	background: url(img/titlebar-corner-left.gif) no-repeat;
	border: 1px solid red;
	z-index: 1000;
	display: none;

} 
.xWindow .corner-right{
	position: absolute; 
	top: 0;
	right: 0;
	width: 4px;
	height: 22px;
	background: url(img/titlebar-corner-right.gif) no-repeat;
} 

.xWindow-titlebar-buttons-panel{
	position: absolute;
	top: 0;
	right: 0;
	height: 22px;
}

.xWindow-titlebar-btn{
	float: right;
	margin: 2px 3px;
	width: 16px;
	height: 16px;
	cursor: pointer;
	font-size: 0;
}
.xWindow-close-btn{
	background: url(img/close.gif) no-repeat center bottom;	
}
.xWindow-maximize-btn{
	background: url(img/maximize.gif) no-repeat center bottom;	
}
.xWindow-minimize-btn{
	background: url(img/minimize.gif) no-repeat center bottom;	
}

.xWindow-content{
	font-size: 11px;
	line-height: 13px;
	overflow: auto;
}
.xWindow-buttons-panel{
	position: absolute;
	bottom: 16px;
	height: 40px;
	width: 100%;
	background: url(img/statusbar-bg.gif);	
	text-align: center;
}
.xWindow-buttons-panel div{
	padding-top: 13px;
}
.xWindow.no-xWindow-statusbar .xWindow-buttons-panel{
	bottom: 0;
}
.xWindow-buttons-panel.no-background{
	background: none;
}
.xWindow-buttons-panel .button.margin{
	margin-left: 20px;
}
.xWindow-loading{
	background: url(img/loading.gif) no-repeat center;
}





.xWindow-statusbar{
	position: absolute;
	bottom: 0;
	height: 16px;
	width: 100%;
	background: url(img/statusbar-bg.gif) repeat-x bottom;
	cursor: move;
	text-align: center;

}
.xWindow-statusbar span{
	font-size: 9px;
	color: #3b3b3b;
	line-height: 18px;
}
.xWindow-statusbar .ui-resizable-se, ui-resizable-handle{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 11px;
	height: 11px;
	background: url(img/resize-handle.gif) no-repeat;
	cursor: se-resize;
}


/*Extensions definitions*/
.xWindow.xWindow-extended{
}
.xWindow.xWindow-extended .xWindow-content{
	text-align: center;
	padding: 10px;
}
.xWindow.xWindow-extended img{
	float: left;
}

/*Prompt*/
.xWindow.xWindow-extended.prompt .xWindow-content p{
	text-align: left;
	margin-bottom: 10px;
}
.xWindow.xWindow-extended.prompt  .xWindow-content input{
	width: 290px;
}
.xWindow.xWindow-extended.prompt  .xWindow-content .error{
	color: red;
} 
.xWindow.xWindow-extended.bubble  .xWindow-content {
	font-size :14px;
}
.xWindow.xWindow-extended.alert  .xWindow-content {
}
.xWindow.xWindow-extended.confirm  .xWindow-content {
}


.humanized-message{
	position: absolute;
	z-index: 304;
	width: 50%;
	left: 25%;
	color: #fff;
	background-color: #000;
	padding: 20px;
	display: none;
	font-family: Verdana;
	font-size: 18px;
	text-align: center;
}
.humanized-message *{
	position: absolute;
	width: 2px;
	height: 2px;
	background: #fff;
	font-size: 0;
}
.humanized-message .corner-lt{
	top: 0;
	left: 0;
}
.humanized-message .corner-rt{
	top: 0;
	right: 0;
	_right: -1px;
}
.humanized-message .corner-lb{
	bottom: 0;
	left: 0;
}
.humanized-message .corner-rb{
	bottom: 0;
	right: 0;
	_right: -1px;
}

